package com.lunm.im.massage;

import com.lunm.im.menu.InstructionType;
import lombok.Data;
import lombok.ToString;

import java.util.Set;

/**
 * @version 1.0.0
 * @Author shawn
 * @Date 2024/12/30 9:17
 */
@Data
@ToString(callSuper = true)
public class GroupCreateRequestMessage extends Message{

    private String groupName;
    private Set<String> members;

    public GroupCreateRequestMessage(String groupName, Set<String> members) {
        this.groupName = groupName;
        this.members = members;
    }


    @Override
    public InstructionType getMessageType() {
        return InstructionType.GROUP_CREATE_REQUEST;
    }
}
